package com.ruoyi.system.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 验收详情对象 tb_check_detail
 *
 * @author ruoyi
 * @date 2024-09-11
 */
public class CheckDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 验收表id
     */
    @Excel(name = "验收表id")
    private Long checkId;

    /**
     * 分类id
     */
    @Excel(name = "分类id")
    private Long typeId;

    /**
     * 规格id
     */
    @Excel(name = "规格id")
    private Long specId;

    /**
     * 单位id
     */
    @Excel(name = "单位id")
    private Long brandId;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private BigDecimal num;

    /**
     * 实到数量
     */
    @Excel(name = "实到数量")
    private BigDecimal realNum;

    /**
     * 收货数量
     */
    @Excel(name = "收货数量")
    private BigDecimal shouNum;

    /**
     * 证明文件
     */
    private String proveFile;

    /**
     * delivery_detail的列表id
     */
    private Long detailId;

    /**
     * 0正常 1删除
     */
    @Excel(name = "0正常 1删除")
    private Integer deleted;

    private String typeName;
    private String specName;
    private String brandName;

    public Long getDetailId() {
        return detailId;
    }

    public void setDetailId(Long detailId) {
        this.detailId = detailId;
    }

    public String getProveFile() {
        return proveFile;
    }

    public void setProveFile(String proveFile) {
        this.proveFile = proveFile;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCheckId(Long checkId) {
        this.checkId = checkId;
    }

    public Long getCheckId() {
        return checkId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setSpecId(Long specId) {
        this.specId = specId;
    }

    public Long getSpecId() {
        return specId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setNum(BigDecimal num) {
        this.num = num;
    }

    public BigDecimal getNum() {
        return num;
    }

    public void setRealNum(BigDecimal realNum) {
        this.realNum = realNum;
    }

    public BigDecimal getRealNum() {
        return realNum;
    }

    public void setShouNum(BigDecimal shouNum) {
        this.shouNum = shouNum;
    }

    public BigDecimal getShouNum() {
        return shouNum;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getDeleted() {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("checkId", getCheckId())
                .append("typeId", getTypeId())
                .append("specId", getSpecId())
                .append("brandId", getBrandId())
                .append("num", getNum())
                .append("realNum", getRealNum())
                .append("shouNum", getShouNum())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("deleted", getDeleted())
                .toString();
    }
}
